package com.xwt.pattern.decorator;

import com.xwt.pattern.utils.Utils;

/**
 * Created by xiaowenting on 16/3/22.
 */
public class ForthGradeSchoolReport extends SchoolReport {
    @Override
    public void report() {
        //成绩单是这个样子的...
        Utils.println("尊敬的XXX家长");
        Utils.println("......");
        Utils.println("语文65 数学62 体育98 自然67");
        Utils.println("......");
        Utils.println("家长签名:");
    }

    @Override
    public void sign(String name) {
        Utils.println("家长签名为:" + name);
    }


}
